import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/pay/shopShift/list',
method: 'get',
params: params
})
}
export function createShopShift(data) {
return request({
url: '/pay/shopShift/create',
method: 'post',
data: data
})
}

export function deleteShopShift(id) {
return request({
url: '/pay/shopShift/delete/' + id,
method: 'get',
})
}

export function getShopShift(id) {
return request({
url: '/pay/shopShift/' + id,
method: 'get',
})
}

export function updateShopShift(id, data) {
return request({
url: '/pay/shopShift/update/' + id,
method: 'post',
data: data
})
}

